package com.example.myerp;

import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.myerp.mapper.S_cell_houseMapper;
import com.example.myerp.pojo.S_cell_house;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

import java.util.List;

@SpringBootTest
public class MyTest2 {
    @Autowired
    S_cell_houseMapper  mapper  ;


    @Autowired

    @Test
    void testOne(){
        S_cell_house s_cell_house = new S_cell_house(1L,"张三");
        UpdateWrapper<S_cell_house> strore_id1 = new UpdateWrapper<S_cell_house>().eq("store_id", 1L);
        int strore_id = mapper.update(s_cell_house,strore_id1);
    }

}
